/**移动污染 基础信息and出入审核**/

import request from "@/utils/request"
//基础信息-黑名单-批量删除接口
export function dleteAllBlackList(query,page){
    return request({
        url:"/blacklist/batchDeleteblacklist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-白名单-批量删除接口
export function dleteAllWhiteList(query,page){
    return request({
        url:"/whitelist/batchDeletewhitelist",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-批量删除接口
export function dleteAllinOutRegister(query,page){
    return request({
        url:"/transportvehicles/batchDeletetransportvehicles",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-禁行车辆登记-批量删除接口
export function dleteAllprohibitedVehicles(query,page){
    return request({
        url:"/prohibitedVehicles/batchDelectProhibitedVehicles",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-过车记录补登-批量删除接口
export function dleteAllPassingRepair(query,page){
    return request({
        url:"/PassingRegister/batchDeletePassingRegister",
        method:"post",
        data:query,
        params:page
    })
}
//车辆类型查询接口
export function selectvehicleType(query,page){
    return request({
        url:"/vehicleType/getAll",
        method:"post",
        data:query,
        params:page
    })
}
//车辆类型新增接口
export function AddvehicleType(query,page){
    return request({
        url:"/vehicleType/addVehicleType",
        method:"post",
        data:query,
        params:page
    })
}
//车辆类型修改接口
export function updatevehicleType(query,page){
    return request({
        url:"/vehicleType/modifyVehicleType",
        method:"post",
        data:query,
        params:page
    })
}
//车辆类型修改接口
export function delvehicleType(query,page){
    return request({
        url:"/vehicleType/delVehicleType",
        method:"post",
        data:query,
        params:page
    })
}
//操作日志-操作日志查询接口-查询接口(根据条件查询、全部)
export function selectSyslog(query,page){
    return request({
        url:"/syslog/selectSyslog",
        method:"post",
        data:query,
        params:page
    })
}
//操作日志-操作日志查询接口-查询工厂ID
export function selectFactoryInfo(query,page){
    return request({
        url:"/factory/getFactoryInfo",
        method:"post",
        data:query,
        params:page
    })
}
// 操作日志-账号列表获取接口
export function userInfoByUsername(query, page) {
    return request({
        url: '/userInfo/userInfoByUsername',
        method: 'post',
        data: query,
    })
}
//基础信息-企业信息备案接口-查询接口(根据条件查询、全部)
export function selectEnterpriseFiling(query,page){
    return request({
        url:"/enterprise/selectenterprise",
        method:"post",
        data:query,
        params:page
    })
}

//基础信息-企业信息备案接口-新增
export function insertEnterpriseFiling(query,page){
    return request({
        url:"/enterprise/insertenterprise",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-企业信息备案接口-修改
export function updateEnterpriseFiling(query,page){
    return request({
        url:"/enterprise/updateenterprise",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-黑名单-导入接口
export function uploadBlackList(query,page){
    return request({
        url:"/blacklist/upload",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-黑名单-查询接口
export function  selectAllBlackList(query,page){
    return request({
        url:"/blacklist/selectblacklist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-黑名单-新增接口
export function insertBlackList(query,page){
    return request({
        url:"/blacklist/insertblacklist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-黑名单-修改接口
export function updateBlackList(query,page){
    return request({
        url:"/blacklist/updateblacklist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-黑名单-删除接口
export function dleteBlackList(query,page){
    return request({
        url:"/blacklist/deleteblacklist",
        method:"post",
        data:query,
        params:page
    })
}

//基础信息-白名单-查询接口
export function selectAllWhiteList(query,page){
    return request({
        url:"/whitelist/selectwhitelist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-白名单-新增接口
export function insertWhiteList(query,page){
    return request({
        url:"/whitelist/insertwhitelist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-白名单-修改接口
export function updateWhiteList(query,page){
    return request({
        url:"/whitelist/updatewhitelist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-白名单-删除接口
export function deleteWhiteList(query,page){
    return request({
        url:"/whitelist/deletewhitelist",
        method:"post",
        data:query,
        params:page
    })
}
//基础信息-白名单-导入接口
export function uploadWhiteList(query,page){
    return request({
        url:"/whitelist/upload",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-根据id单条查询接口
export function selectIdPassingVehicles(query,page){
    return request({
        url:"/PassingRegister/selectInformationPassingRegister",
        method:"post",
        data:query,
        params:page
    })
}

//出入审核-临时车辆登记-查询接口
export function selectVehicles(query,page){
    return request({
        // url:"/transportvehicles/fuzzyQueryselecttransportvehicles",
        url:"/transportvehicles/fuzzyQuery",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-根据条件查询查询接口
export function selectQueryVehicles(query,page){
    return request({
        // url:"/transportvehicles/fuzzyQueryselecttransportvehicles",
        url:"/transportvehicles/fuzzyQuery",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-批量更改通行状态接口
export function updateStatusVehicles(query,page){
    return request({
        url:"/transportvehicles/updatestatus",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-新增接口
export function insertVehicles(query,page){
    return request({
        url:"/transportvehicles/inserttransportvehicles",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-删除接口
export function deleteVehicles(query,page){
    return request({
        url:"/transportvehicles/deletetransportvehicles",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-临时车辆登记-修改接口
export function updateVehicles(query,page){
    return request({
        url:"/transportvehicles/updatetransportvehicles",
        method:"post",
        data:query,
        params:page
    })
}

//出入审核-过车记录补登-查询接口
export function selectPassingRegister(query,page){
    return request({
        url:"/PassingRegister/selectPassingRegister",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-过车记录补登-修改接口（单条更新车辆备案状态）
export function updatePassingRegister(query,page){
    return request({
        url:"/PassingRegister/updatePassingRegister111 ",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-过车记录补登-修改接口
export function deletePassingRegister(query,page){
    return request({
        url:"/PassingRegister/deletePassingRegister",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-过车记录补登-更改备案状态接口（多条）
export function updatePassingRegisterFiling(query,page){
    return request({
        url:"/PassingRegister/updatefiling",
        method:"post",
        data:query,
        params:page
    })
}
//出入审核-禁行车辆-查询接口
export function selectprohibitedVehiclesnumber(query, page) {
    return request({
        // url: '/prohibitedVehicles/selectprohibitedVehiclesnumber',
        url: '/prohibitedVehicles/pageList',
        method: 'post',
        data: query,
    })
}
//出入审核-禁行车辆-新增接口
export function insertProhibitedVehicles(query, page) {
    return request({
        url: '/prohibitedVehicles/addprohibitedVehicles',
        method: 'post',
        data: query,
    })
}
//出入审核-禁行车辆-查询禁行清单接口接口
export function selectProhibitedVehicles(query, page) {
    return request({
        url: '/prohibitedVehicles/selectProhibitedVehicles',
        method: 'post',
        data: query,
    })
}
//出入审核-禁行车辆-删除接口
export function deleteProhibitedVehicles(query, page) {
    return request({
        url: '/prohibitedVehicles/deleteprohibitedVehicles',
        method: 'post',
        data: query,
    })
}
//出入审核-禁行车辆-更改状态接口
export function updateProhibitedVehicles(query, page) {
    return request({
        url: '/prohibitedVehicles/updateprohibitedVehicles',
        method: 'post',
        data: query,
    })
}
